package com.team.easybuy.mapper;

import com.team.easybuy.entity.News;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsMapper {

    List<News> selectNews();

    News selectById(Integer id);
}
